// 把驼峰命名改为横线
export const toLine = (value: string) => {
    return value.replace(/(A-Z)g/,'-$1').toLocaleLowerCase()
}